home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / gbox.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  743 b   |  25 lines

  1. .TH GBOX
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. GBOX
  5.  
  6.  
  7.  
  8.  PolygonType GBOX( VectorType Point,
  9.                    VectorType Dx, VectorType Dy, VectorType Dz )
  10.  
  11. Creates a parallelepiped - Generalized BOX polygonal object, defined by
  12. Point as base position, and Dx, Dy, Dz as 3 3D vectors to define
  13. the 6 faces of this generalized BOX. The regular BOX object is a special case
  14. of GBOX where Dx = vector(Dx, 0, 0), Dy = vector(0, Dy, 0), and
  15. Dz = vector(0, 0, Dz).
  16.  
  17. Dx, Dy, Dz must all be independent in order to create an
  18. object with positive volume.
  19.  
  20. Example:
  21.  
  22.     GB = GBOX(vector(0.0, -0.35, 0.63), vector(0.5, 0.0, 0.5),
  23.                                         vector(-0.5, 0.0, 0.5),
  24.                                         vector(0.0, 0.7, 0.0));
  25.